DiscoverElixir Wizards"You've Got a Job to Do" with Joel Meador
"You've Got a Job to Do" with Joel Meador

"You've Got a Job to Do" with Joel Meador

Update: 2024-04-04
Share

Description

Today on Elixir Wizards Office Hours, SmartLogic Engineer Joel Meador joins Dan Ivovich to discuss all things background jobs.



The behind-the-scenes heroes of app performance and scalability, background jobs take center stage as we dissect their role in optimizing user experience and managing heavy-lifting tasks away from the main application flow. From syncing with external systems to processing large datasets, background jobs are pivotal to successful application management.



Dan and Joel share their perspectives on monitoring, debugging, and securing background jobs, emphasizing the need for a strategic approach to these hidden workflows.



Key topics discussed in this episode:




  • The vital role of background jobs in app performance

  • Optimizing user experience through background processing

  • Common pitfalls: resource starvation and latency issues

  • Strategies for effective monitoring and debugging of task runners and job schedulers

  • Data integrity and system security in open source software

  • Background job tools like Oban, Sidekiq, Resque, Cron jobs, Redis pub sub

  • CPU utilization and processing speed

  • Best practices for implementing background jobs

  • Keeping jobs small, focused, and well-monitored

  • Navigating job uniqueness, locking, and deployment orchestration

  • Leveraging asynctask for asynchronous operations

  • The art of continuous improvement in background job management



Links mentioned in this episode:



https://redis.io/

Oban job processing library https://hexdocs.pm/oban/Oban.html

Resque Ruby library for background jobs https://github.com/resque

Sidekiq background processing for Ruby https://github.com/sidekiq

Delayed Job priority queue system https://github.com/collectiveidea/delayed_job

RabbitMQ messaging and streaming broker https://www.rabbitmq.com/

Mnesia distributed telecommunications DBMS https://www.erlang.org/doc/man/mnesia.html

Task for Elixir https://hexdocs.pm/elixir/1.12/Task.html

ETS in-memory store for Elixir and Erlang objects https://hexdocs.pm/ets/ETS.html

Cron - https://en.wikipedia.org/wiki/Cron

Donate to Miami Indians of Indiana https://www.miamiindians.org/take-action

Joel Meador on Tumblr https://joelmeador.tumblr.com/

Special Guest: Joel Meador.

Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

"You've Got a Job to Do" with Joel Meador

"You've Got a Job to Do" with Joel Meador

SmartLogic LLC